package com.xhh.nphm.system.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import lombok.Data;

/**
 * 敏感信息详情表
 * @TableName tm_sensitive_info_detail
 */
@TableName(value ="tm_sensitive_info_detail")
@Data
public class SensitiveInfoDetail implements Serializable {
    /**
     * 敏感信息详情表主键id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 敏感信息属性表id
     */
    @TableField(value = "fieldId")
    private Integer fieldId;

    /**
     * 敏感信息属性值
     */
    @TableField(value = "value")
    private String value;

    /**
     * 删除标识
     */
    @TableField(value = "isDel")
    @TableLogic
    private Integer isDel;

    /**
     * 判断属于哪一条敏感信息
     */
    @TableField(value = "sensitiveId")
    private Integer sensitiveId;

    /**
     * 敏感信息属性对象
     */
    @TableField(exist = false)
    private SensitiveInfoField field;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}